package com.example.apple.test;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class Weather extends Activity{
	
	 private WebView webView;
	    @Override
	    protected void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.activity_weather);
	        webView = (WebView)findViewById(R.id.web_weather);
	        webView.getSettings().setJavaScriptEnabled(true);
	        webView.setWebViewClient(new WebViewClient());
	        webView.loadUrl("http://baidu.weather.com.cn/mweather/101040100.shtml");
	    }

}
